package com.jn.exam.oss.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * @author 江南大学1033190417
 * @date 2021/12/16 17:11
 */
public interface OssService {

    String uploadFileAvatar(MultipartFile file);

    @Deprecated
    String uploadFaceImg(String img);

    String uploadFaceImgBytes(String img);

    String uploadFaceImgBytes(byte[] bytes);

    boolean deleteFile(String url);

    String copyFileByUrl(String url);

}
